package com.example.demo.pojo;

public class Demo {
    public static void main(String[] args) {
        String a = "['1','7','11','13','14','15']";

        String[] split = a.split(",");
        for(String s : split) {
            System.out.println(s);
        }

        String s = a.replaceAll("\\[|\\]", "");
        String[] split1 = s.split(",");
        System.out.println(s);

        for(String s1 : split1) {

            System.out.println(Integer.valueOf(s1));

        }




    }
}
